home *** CD-ROM | disk | FTP | other *** search
/ Garbo / Garbo.cdr / mac / hypercrd / hc2_x / tcprogud.sit / TC Prog Guide / card_22190.txt < prev    next >
Text File  |  1991-02-27  |  2KB  |  40 lines

  1. -- card: 22190 from stack: in
  2. -- bmap block id: 0
  3. -- flags: 0000
  4. -- background id: 4755
  5. -- name: 
  6.  
  7.  
  8. -- part contents for background part 6
  9. ----- text -----
  10. 4.5  Think Class Library
  11.  
  12. -- part contents for background part 7
  13. ----- text -----
  14. 138
  15.  
  16. -- part contents for background part 4
  17. ----- text -----
  18. In addition to the standard C function libraries and specialized function libraries for the Macintosh (which call the Macintosh Toolbox ROM routines), Think C comes with the Think Class Library (TCL).  The TCL is made up of several source files containing method definitions for several useful classes, which are themselves defined in TCL header files.
  19.  
  20. These classes can be used to declare the objects which make up the graphical user interface for Macintosh programs.  TCL classes encapsulate the data and functionality needed to implement an event-driven Application dealing with Files, Windows, ScrollBars, Pictures, EditText fields, CheckBoxes, etc.  (See the TC manuals.)
  21.  
  22. In this way the complexities of the Macintosh graphical user interface are "hidden" from the programmer, yet the programmer has the ability to derive new classes from the TCL classes to obtain specialized functionality.  This feature of the OOP approach cannot be obtained using traditional function libraries.
  23.  
  24. The potential exists for the standardization of class libraries such as the TCL, to allow cross-platform development using graphical user interfaces*.
  25.  
  26.  
  27.  
  28.  
  29.  
  30. -- part contents for background part 29
  31. ----- text -----
  32. 62767
  33.  
  34. -- part contents for background part 27
  35. ----- text -----
  36. Portability via class libraries
  37.  
  38. -- part contents for background part 20
  39. ----- text -----
  40. Portability via class libraries - p208